package tweeter;
public class NetworkEntity
{
	public int ID;
	
	public NetworkEntity(int ID)
	{
		this.ID = ID;
	}
	
	public void login()
	{
		return;
	}
	
	public void logout()
	{
		return;
	}
	
	public void subscribe(int subscriptionID)
	{
		System.out.println("Entity " + ID + " will subscribe to " + subscriptionID);
		return;
	}
	
	public void publish(int messageID, String messageData)
	{
		System.out.println("Entity " + ID + " will publish messageID " + messageID + ". The content is: " + messageData);
		return;
	}
}
